﻿package Stage 
{
	import Base.Log.*;
	import Common.*;
	import Events.*;
	
	/**
	 * ...
	 * @author fox
	 */
	public class MainStage extends GameState
	{
		
		public function MainStage() 
		{
			Type = GameState.MAIN;
		}
		
		public override function update():void
		{
			// update
		}
	
		public override function run():void
		{
			// game logic run
		}
		
		public override function release():void
		{
			
		}
		
		public override function init():void
		{
			LogManager.logOut("MainStage Init.");
			
			var cModuleEvent:ModuleEvent = new ModuleEvent( ModuleEvent.MAINSTAGE );
			ModuleEventManager.instance.dispatchEvent( cModuleEvent );
		}
		
	}
	
}